From: Richard M. Stallman Date: Sat, 29 May 1993 05:48:29 +0000 (+0000) Subject: (reset_buffer): Clear mark_active field here. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95818 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=dfda7a7fc5c329678b05f90d92de46de401816ea;p=emacs.git (reset_buffer): Clear mark_active field here. (reset_buffer_local_variables): Not here. --- diff --git a/src/buffer.c b/src/buffer.c index 55598e4dd1b..4e62464e658 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -279,6 +279,7 @@ reset_buffer (b) b->overlays_before = Qnil; b->overlays_after = Qnil; XFASTINT (b->overlay_center) = 1; + b->mark_active = Qnil; /* Only defined if Emacs is compiled with USE_TEXT_PROPERTIES */ INITIALIZE_INTERVAL (b, NULL_INTERVAL); @@ -304,7 +305,6 @@ reset_buffer_local_variables (b) b->upcase_table = Vascii_upcase_table; b->case_canon_table = Vascii_downcase_table; b->case_eqv_table = Vascii_upcase_table; - b->mark_active = Qnil; #if 0 b->sort_table = XSTRING (Vascii_sort_table); b->folding_sort_table = XSTRING (Vascii_folding_sort_table);